package com.feihong.txgw.inter.contract.setting;

import com.feihong.txgw.ui.mvp.model.IBaseModel;
import com.feihong.txgw.ui.mvp.precenter.AbBasePrecenter;
import com.feihong.txgw.ui.mvp.view.IBaseActivity;

import io.reactivex.Observable;

/**
 * @Author wangziheng
 * @ProjectName txgw_app
 * @ClassName ISettingContract
 * @package com.feihong.txgw.inter.contract.setting
 * @data 2018/5/7 16:12
 * @Describe
 * @Change
 */
public interface ISettingContract {

    interface ISettingMainView extends IBaseActivity{

        void logoutResult(String result);
    }

    interface ISettingMainModel extends IBaseModel{
        Observable<String> logout();
    }

    abstract class AbSettingMainPrecenter extends AbBasePrecenter<ISettingMainModel,ISettingMainView>{
        public abstract void logout();
    }

}
